/***************************登录 start************************/
.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.login-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box; /* Ensures padding does not increase size */
}

.login-container .login-button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.login-container .login-button:hover {
    background-color: #4cae4c;
}

.login-container .login-button-disable {
    width: 100%;
    padding: 10px;
    background-color: #595656;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    pointer-events: none;
}

.login-container .login-button-disable:hover {
    background-color: #a0a3a0;
}
/***************************登录 end************************/


/**************************登录重连 start**************************************/
/* 加载容器 */
.loader-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: rgba(10, 15, 30, 0.95);
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-container2 {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    /*background: rgba(10, 15, 30, 0.95);*/
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* 加载完成时隐藏加载动画 */
.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

/* 加载动画 */
.loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 40px;
}

.loader-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #3498db;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.loader-circle:nth-child(2) {
    border-top-color: #e74c3c;
    animation-delay: -0.4s;
}

.loader-circle:nth-child(3) {
    border-top-color: #2ecc71;
    animation-delay: -0.8s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 进度条 */
.progress-container {
    width: 300px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-container2 {
    width: 300px;
    height: 12px;
    background: rgba(81, 80, 80, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* 加载文本 */
.loading-text {
    color: white;
    font-size: 18px;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loading-text2 {
    color: black;
    font-size: 18px;
    margin-top: 2px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loading-text span {
    display: inline-block;
    animation: pulse 1.5s infinite;
    animation-delay: calc(0.1s * var(--i));
}
/**************************登录重连 end**************************************/